#from django.conf.urls.defaults import *

from django.conf.urls.defaults import patterns, include, url
handler500 = 'djangotoolbox.errorviews.server_error'

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^CostCalc/$', 'CostCalc.views.homepage'),
    url(r'^CostCalc/Login/$', 'CostCalc.views.loginpage'),
    url(r'^CostCalc/userhomepage/$', 'CostCalc.views.userhomepage'),
    url(r'^CostCalc/register/$', 'CostCalc.views.register'),
    
    #url(r'^CostCalc/(?P<Event_Id>\d+)/TripHomepage/$', 'CostCalc.views.TripHomepage'),
    #
    #url(r'^CostCalc/CreateTrip/$', 'CostCalc.views.CreateEvent'),
    #url(r'^CostCalc/(?P<Event_Id>\d+)/SetPeopleOnEvent/$', 'CostCalc.views.SetPeopleOnEvent'),
    #url(r'^CostCalc/(?P<Event_Id>\d+)/AddTripExpense/$', 'CostCalc.views.AddTripExpense'),
    #url(r'^CostCalc/(?P<Event_Id>\d+)/(?P<Expense_Id>\d+)/ViewTripExpense/$', 'CostCalc.views.ViewTripExpense'),
    #url(r'^CostCalc/(?P<Event_Id>\d+)/(?P<User_Id>\d+)/SetDatesOnEvent/$', 'CostCalc.views.SetDatesOnEvent'),
    #url(r'^CostCalc/(?P<Event_Id>\d+)/CreateSubgroupExpense/$', 'CostCalc.views.CreateSubgroupExpense'),
    
    
    
    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)

